package ms.unicorn.reasoning.util;

import ms.unicorn.Element;
import ms.unicorn.dsl.impl.LanguageElementField;
import ms.unicorn.reasoning.UnicornDSL;

public class UnicornDSLUtil {

	public static boolean isOriginalModelElement(Element e) {
		return isRequirement(e) & (Boolean)UnicornDSL.ORIGIN_MODEL_ELEMENT.getValue(e);
	}
	
	public static boolean isRequirement(Element e) {
		return UnicornDSL.REQUIREMENT.equals(e.getElementType());
	}
	

}
